package com.example.springbootmail;

public class Test {

    public static void main(String[] args) {
        //gps位置数据
       String s1 = "@B#@|01|001|111112222233333|8888888888888888|1|055|20160715150323|125.48276|37.615124|1|@E#@";
//基站定位
        String s2 = "@B#@|01|001|866058040002405|8888888888888888|1|032|20190802033850|5012090,41194,1,460,101|5012090,4153,1,460,101|0,0,0,0,0|0,0,0,0,0|2|@E#@";
//wifi 定位
       String s3 = "@B#@|01|001|866058040002405|8888888888888888|1|031|20190802034024|94:d9:b3:64:5a:2d,-43&88:25:93:e8:56:9e,-57&9c:a6:15:b6:3f:75,-65&ac:a2:13:08:2f:25,-70|5012090,41194,1,460,93|5012090,4153,1,460,93|0,0,0,0,0|0,0,0,0,0|3|@E#@";
       String s4 = "@B#@|01|001|866058040002405|8888888888888888|1|013|20190802053055|94:d9:b3:64:5a:2d,-46&88:25:93:e8:56:9e,-54&9c:a6:15:b6:3f:75,-60&88:25:93:f3:7d:60,-75|5012099,41194,1,460,99|5012099,4153,1,460,99|0,0,0,0,0|0,0,0,0,0|3|@E#@";
       System.out.println(s4.getBytes().length);
       System.out.println(s1.split("\\|").length);
       System.out.println(s2.split("\\|").length);
       System.out.println(s3.split("\\|").length);
    }
}
